package com.bocai.freeman.view.activitys;

import android.os.Bundle;
import android.view.View;
import android.widget.ListView;

import com.bocai.freeman.R;
import com.bocai.freeman.base.BaseActivity;
import com.bocai.freeman.utils.ToolbarHelper;
import com.bocai.freeman.view.adapter.MoreEvaluateAdapter;
import com.bocai.freeman.view.custom.MRatingBar;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by win7 on 2016/5/25.
 */
public class MoreEvaluateActivity extends BaseActivity {
    @Bind(R.id.rvice_start)
    MRatingBar rviceStart;
    @Bind(R.id.lv)
    ListView lv;

    private MoreEvaluateAdapter mMoreEvaluateAdapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_more_evaluate);
        ButterKnife.bind(this);
        ToolbarHelper.setup(this, getString(R.string.str_more_opinion), R.mipmap.left_return, new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
        initView();
    }

    @Override
    protected void initView() {
        mMoreEvaluateAdapter = new MoreEvaluateAdapter(this);
        lv.setAdapter(mMoreEvaluateAdapter);
    }
}
